﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;
using System.Data.SqlClient;
using transferObjects.tasacionAsesoria.tasacion;
using dao;
using dao.sqlServer2005.tasacionAsesoria.tasacion;

/// <summary>
/// Descripción breve de InformeCompletoService
/// conejo culiao
/// </summary>
/// 

namespace services.tasacionAsesoria.tasacion
{
    public class InformeCompletoService
    {
        public InformeCompletoService()
        {

        }

        public int guardarInformeCompleto(InformeCompleto informeCompleto)
        {
            SqlConnection conn = ConnectionManager.getSqlConnection();
            conn.Open();

            InformeCompletoDB informeCompletoDB = new InformeCompletoDB(conn);
            int respuesta = informeCompletoDB.guardarInformeCompleto(informeCompleto);
            conn.Close();

            return respuesta;
        }
    }
}